package com.example.laundry.service;

import com.example.laundry.entity.LaundryOrderEntity;
import com.example.laundry.repository.LaundryOrderRepository;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface LaundryService {
    List<LaundryOrderEntity> getAllOrders();
    LaundryOrderEntity getOrderById(Long id);
    LaundryOrderEntity createOrder(LaundryOrderEntity order);
    LaundryOrderEntity updateOrder(Long id, LaundryOrderEntity orderDetails);
    void deleteOrder(Long id);
}